class AddStartedApproval {
  int? id;
  int? customerInfoId;
  List<int>? contract;
  List<int>? propertyCertificate;
  List<int>? copyIdCard;
  List<int>? report;
  List<int>? construction;
  List<int>? designPhoto;
  List<int>? loadReport;
  String? remarks;
  List<int>? other;
  int? saveOrSubmit;

  AddStartedApproval(
      {this.id,
        this.customerInfoId,
        this.contract,
        this.propertyCertificate,
        this.copyIdCard,
        this.report,
        this.construction,
        this.designPhoto,
        this.loadReport,
        this.remarks,
        this.other,
        this.saveOrSubmit});

  AddStartedApproval.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    customerInfoId = json['customerInfoId'];
    if (json['contract'] != null) {
      contract = json['contract'].cast<int>();
    }
    if (json['propertyCertificate'] != null) {
      propertyCertificate = json['propertyCertificate'].cast<int>();
    }
    if (json['copyIdCard'] != null) {
      copyIdCard = json['copyIdCard'].cast<int>();
    }
    if (json['report'] != null) {
      report = json['report'].cast<int>();
    }
    if (json['construction'] != null) {
      construction = json['construction'].cast<int>();
    }
    if (json['designPhoto'] != null) {
      designPhoto = json['designPhoto'].cast<int>();
    }
    if (json['loadReport'] != null) {
      loadReport = json['loadReport'].cast<int>();
    }
    if (json['other'] != null) {
      other = json['other'].cast<int>();
    }
    remarks = json['remarks'];
    saveOrSubmit = json['saveOrSubmit'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['customerInfoId'] = this.customerInfoId;
    data['contract'] = this.contract;
    data['propertyCertificate'] = this.propertyCertificate;
    data['copyIdCard'] = this.copyIdCard;
    data['report'] = this.report;
    data['construction'] = this.construction;
    data['designPhoto'] = this.designPhoto;
    data['loadReport'] = this.loadReport;
    data['remarks'] = this.remarks;
    data['other'] = this.other;
    data['saveOrSubmit'] = this.saveOrSubmit;
    return data;
  }
}
